package com.example.demo.util;

public class PageUtil {
    public static int start(int page,int limit){
        return (page-1)*limit;
    }

    public static int end(int page,int limit){
        return page*limit;
    }
}
